const useProjectStore = defineStore(
    'project',
    {
        state: () => ({
            projectData: {}
        }),
        getters: {
            getProjectData: state => state.projectData
        },
        actions: {
            // 设置项目申报信息
            setProjectData(value) {
                this.projectData = value;
            },
            // 删除字典
            removeProjectData() {
                this.projectData = {};
            },
        }
    })

export default useProjectStore
